package com.HZNU.Service;

import com.HZNU.spring_api.POJO.Dept;
import org.springframework.stereotype.Service;

public interface DeptService {
    int deleteByPrimaryKey(Integer deptno);

    int insert();

    int insertSelective();

    boolean addDept(Dept dept);
    Dept selectByPrimaryKey(Integer deptno);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
}
